﻿using Basic.WxModel.WxFilter;
using Basic.WxRepository;

namespace Basic.WxCollect.lmpl
{
    internal class WxFilterCollect : IWxFilterCollect
    {
        private readonly IWxFilterRepository _Repository;

        public WxFilterCollect (IWxFilterRepository repository)
        {
            this._Repository = repository;
        }

        public void Add (WxFilterAdd add)
        {
            this._Repository.Add(add);
        }

        public long FindId (long rpcMerId, string systemType)
        {
            return this._Repository.FindId(rpcMerId, systemType);
        }
    }
}
